package com.lgj.mall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient  //服务注册发现
//排除数据源的自动配置
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class LmallGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(LmallGatewayApplication.class, args);
    }

}
